V2EX  ›  英汉词典

Orphan Process

定义 Definition

“Orphan process”(孤儿进程)指在类 Unix 操作系统中,父进程先于子进程结束后留下的子进程。此时该子进程会被系统(通常是 init/systemd,即 PID 1)接管并继续运行,从而避免无人回收资源的问题。该术语也常与“僵尸进程(zombie process)”对比:孤儿进程仍在运行;僵尸进程已结束但未被父进程回收。

例句 Examples

The server created an orphan process when the parent crashed.
父进程崩溃后,服务器产生了一个孤儿进程。

In Unix-like systems, an orphan process is usually adopted by PID 1 so it can keep running and be properly reaped when it exits.
在类 Unix 系统中,孤儿进程通常会被 PID 1 接管,这样它既能继续运行,也能在退出时被正确回收。

发音 Pronunciation

/ˈɔːr.fən ˈprɑː.ses/

词源 Etymology

“orphan”原义为“孤儿”,来自拉丁语 orphanus(失去父母的人),经由希腊语 orphanos 进入英语;在计算机术语中借用其“失去依靠/监护者”的含义,用来形容“失去父进程”的子进程。“process”来自拉丁语 processus(推进、过程),在操作系统语境中指“进程”。

相关词 Related Words

文学与著作 Literary Works

  • Operating System Concepts(Silberschatz, Galvin, Gagne):在进程与父子关系、进程终止与回收相关章节常讨论“孤儿进程/被 PID 1 接管”的机制。
  • Advanced Programming in the UNIX Environment(W. Richard Stevens, Stephen A. Rago):讲解 fork()、父子进程、wait()/回收与孤儿进程的典型行为。
  • The Linux Programming Interface(Michael Kerrisk):在 Linux 进程生命周期、进程回收与 PID 1 角色的章节中常出现该概念。
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   871 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 21ms · UTC 17:50 · PVG 01:50 · LAX 09:50 · JFK 12:50
♥ Do have faith in what you're doing.